package com.erdos.message.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

public class L2RHMessageHeader implements Serializable {
    private static final long serialVersionUID = -9204023876973858087L;
    /**
     * assigned message type id.
     */
    private String messageTypeId;
    /**
     * message id of this message
     */
    private String messageId;
    
    private String RECORD_NO;
    
    private String CONSIDERED;
    /**
     * who sends this message
     */
    private String sender;
    /**
     * who is expected to receive this message
     */
    private String receiver;

    /**
     * @return the messageTypeId
     */
    public String getMessageTypeId() {
	return messageTypeId;
    }

    /**
     * @param messageTypeId
     *                the messageTypeId to set
     */
    public void setMessageTypeId(String messageTypeId) {
	this.messageTypeId = messageTypeId;
    }

    /**
     * @return the messageId
     */
    public String getMessageId() {
	return messageId;
    }

    /**
     * @param messageId
     *                the messageId to set
     */
    public void setMessageId(String messageId) {
	this.messageId = messageId;
    }

    public String toString() {
	return new ToStringBuilder(this).append(this.messageTypeId).append(this.messageId).toString();
    }

    /**
     * @return the sender
     */
    public String getSender() {
	return sender;
    }

    /**
     * @param sender
     *                the sender to set
     */
    public void setSender(String sender) {
	this.sender = sender;
    }

    /**
     * @return the receiver
     */
    public String getReceiver() {
	return receiver;
    }

    /**
     * @param receiver
     *                the receiver to set
     */
    public void setReceiver(String receiver) {
	this.receiver = receiver;
    }

    /**
     * @return the record_no
     */
    public String getRecord_no() {
	return RECORD_NO;
    }

    /**
     * @param record_no
     *                the record_no to set
     */
    public void setRecord_no(String record_no) {
	this.RECORD_NO = record_no;
    }

    /**
     * @return the considered
     */
    public String getConsidered() {
	return CONSIDERED;
    }

    /**
     * @param considered
     *                the considered to set
     */
    public void setConsidered(String considered) {
	this.CONSIDERED = considered;
    }
}
